﻿using System.Collections;
using System.Collections.Generic;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
using UnityEngine;

public class MonoBehaviourDoc : DocPrimitive
{
	[YamlMember(Alias = "MonoBehaviour", ApplyNamingConventions = false)]
	public MonoBehaviourObj mbo { get; set; }
}

public class MonoBehaviourObj
{
	[YamlMember(Alias = "m_ObjectHideFlags", ApplyNamingConventions = false)]
	public int objectHideFlags { get; set; }

	[YamlMember(Alias = "m_PrefabParentObject", ApplyNamingConventions = false)]
	public Dictionary<string, int> prefabParent { get; set; } 

	[YamlMember(Alias = "m_PrefabInternal", ApplyNamingConventions = false)]
	public Dictionary<string, int> prefabInternal { get; set; }

	[YamlMember(Alias = "m_GameObject", ApplyNamingConventions = false)]
	public Dictionary<string, uint> gameObject { get; set; }

	[YamlMember(Alias = "m_Enabled", ApplyNamingConventions = false)]
	public int enabled { get; set; }

	[YamlMember(Alias = "m_EditorHideFlags", ApplyNamingConventions = false)]
	public int editorHideFlags { get; set; }

	[YamlMember(Alias = "m_Script", ApplyNamingConventions = false)]
	public Dictionary<string, string> script { get; set; }

	[YamlMember(Alias = "m_Name", ApplyNamingConventions = false)]
	public string name { get; set; }

	[YamlMember(Alias = "m_EditorClassIdentifier", ApplyNamingConventions = false)]
	public string editorClassIdentifier { get; set; }
}

